POV-Ray : Newsgroups : povray.general : macro - without () : Re: macro - without () Server Time
5 Aug 2024 10:18:55 EDT (-0400)
  Re: macro - without ()  
From: Simon Adameit
Date: 2 Oct 2002 06:18:03
Message: <3d9ac7db@news.povray.org>
"Rafal 'Raf256' Maj" wrote:
> This future isn't something realy important, it's just to have more
> comfortable syntax :) And it's look quite easy to code. Currently i'm
happy
> with this ignore macro, but maybe keyword would be better ?
> I.e. it is needed with infinite objects.
>
For infinite objects you could make macro like this:
#macro _()
#declare _a213_9xyio0_23sd_f=
#end

It would be used this way:
_()object{....100 lines of csg}

But I prefer to write my scenes in a way so that such problems dont occur.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.